<template>
  <a-result
    status="403"
    title="403"
    sub-title="Sorry, you are not authorized to access this page."
  >
    <template #extra>
      <a-button type="primary" @click="backGo">Back Home</a-button>
    </template>
  </a-result>
</template>
<script setup>
import { useRouter, useRoute } from "vue-router";

const router = useRouter();
const route = useRoute();
import { login11 } from "@/apis/login";
import { reactive, onMounted, ref } from "vue";
onMounted(() => {
  init()
})
const init = () => {
  login11({
    auth_type: "password",
    calling_code: 0,
    account: "admin",
    password: "123456",
  }).then((res) => {
    console.log(res);
 
  });
};
//返回到上一页
const backGo = () => {
  router.push(route.query.url);
};
</script>
